<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html>
    <head>
        <%@include file="../common/head.jspf" %>
    </head>

    <body class="loan-detail-page gallery-page sb-l-o sb-r-c sb-l-o" data-menu="#menu_loan" data-list="#li_loan_list">

        <!-- 主体内容开始 -->
        <div id="main">

            <!--侧边导航栏-->
            <%@include file="../common/sidebar.jspf" %>

            <!-- Start: Content-Wrapper -->
            <section id="content_wrapper">

                <!-- 顶部导航 -->
                <header id="topbar">
                    <div class="topbar-left">
                        <ol class="breadcrumb">
                            <li class="crumb-active">
                                <span>软擎科技</span>
                            </li>
                            <li class="crumb-icon">
                                <a href="dashboard"><span class="glyphicon glyphicon-home"></span></a>
                            </li>
                            <!-- 当前页 -->
                            <li class="crumb-trail">定向标的</li>
                        </ol>
                    </div>
                    <div class="topbar-right">
                        <!-- 登录信息 -->
                        <%@include file="../common/session.jspf" %>
                    </div>
                </header>
                <!-- 顶部导航结束 -->

                <!-- 页面内容开始 -->
                <section id="content" class="p15">
                    <div id="loan" data-id="${model.id}" class="hidden"></div>

                    <%@include file="common/nav.jspf" %>
                    <button class="btn btn-info light pull-right" id="add_subscribe_name">
                        <span class="glyphicon glyphicon-plus mr5"></span>添加定向标的用户</button>
                    <hr class="br-light mt10 mb10" />

                    <!--操作记录表-->
                    <div class="panel mn">
                        <div class="panel-body pn">
                            <table class="table table-striped table-text-center" id="subscribeTable">
                                <thead>
                                    <tr>
                                        <th>用户名</th>
                                        <th>标的名称</th>
                                        <th>操作时间</th>
                                        <th>金额</th>
                                    </tr>
                                </thead>
                            </table>
                        </div>
                    </div>
                </section>
                <!-- 页面内容结束 -->
            </section>
        </div>
        <!--手动添加定向标的用户相关 -->
        <div class="modal fade" id="myModal" tabindex="-1" role="dialog">
            <div class="outpoints" style="height:150px;">
                <ul>
                    <li class="record-text" style="margin-top:10px;">
                        <span>用户登录名：</span>
                        <span><input type="text" value="" id="subscribe_loginname"/></span>
                    </li>
                    <li>
                        <input class="btn btn-sm pt4 pb4 btn-system" data-dismiss="modal" id="cancel" value="取消"/>
                        <input class="btn btn-sm pt4 pb4 btn-system" type="button" id="confirm_deduction" value="确认"/>
                    </li>
                </ul>
            </div>
        </div>
        <!-- 主体内容结束 -->
        <!-- 公共函数 -->
        <%@include file="../common/scripts.jspf" %>

        <script type="text/javascript" src="${rootPath}/js/pages/loan/subscribe.js"></script>
    </body>
</html>
